package com.example.za.account.application;

import android.app.Application;
import android.content.Context;
import android.support.multidex.MultiDex;

import com.example.za.account.model.User;

import cn.bmob.v3.Bmob;

public class AccountApplication extends Application {

    private static AccountApplication sAccountApplication;
    public static User sUser;

    public static AccountApplication getApplication() {
        return sAccountApplication;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Bmob.initialize(this, "9f13757dd0b60d77b2497f6caa3467ca");
        sAccountApplication = this;
    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        MultiDex.install(this);
    }
}
